const state = {
    formattedAddress:localStorage.formattedAddress || ""
}
const mutations={
    CHANGE_ADDRESS(state,address){
        if(address!=="定位中……"){
            localStorage.formattedAddress=address
            state.formattedAddress=address
        }
        if(localStorage.formattedAddress){

        }else{
            state.formattedAddress="定位中..."
        }
    }
}
export default {
     state,
    mutations
}